//
//  JXHistoryInfoView.h
//

#import "JXItemModel.h"
#import <UIKit/UIKit.h>

@protocol JXHistoryInfoViewDelegate<NSObject>

- (void)didSelectedInfoWithItem:(JXItemModel *)item;

@end

@interface JXHistoryInfoView : UIView

@property(nonatomic, assign) id<JXHistoryInfoViewDelegate> delegate;

- (instancetype)initWithTtile:(NSString *)title
                     delegate:(id<JXHistoryInfoViewDelegate>)delegate
                        items:(NSArray *)items;

- (void)showInView:(UIView *)view;

- (void)hideView;

@end
